processNoticesResponse = 
{
    "data": [{
        "title": "Fancy Gaming Simplifier",
        "message": "Hello everyone. My name is not James, but I will  try to make a working version of this great piece of software. Regardless of James apparently dropping the project, I'm thankful for him for stepping up and bring FGS to life again. I will try nd make tests until I get a working version or I get fed up and give up. We'll see what happens first'.",
        "time": 1332449250
    }],
	"script": function() {
	
		$('#noticesContent').html('');
		for(k in this.data)
		{
			var v = this.data[k];
			var date = new Date(v.time*1000);
			var s = (date.getSeconds().toString().length == 1 ? "0"+date.getSeconds() : date.getSeconds());
			var m = (date.getMinutes().toString().length == 1 ? "0"+date.getMinutes() : date.getMinutes());
			var h = (date.getHours().toString().length == 1 ? "0"+date.getHours() : date.getHours());
			
			var newRow = $('<div style="background: #C5DCEC;padding:3px;text-align:left"><span class="username" style="font-weight: bolder">'+v.title+'</span><br /><span style="font-size:0.9em">'+date.toLocaleDateString()+' @ '+date.toLocaleTimeString()+'</span><br /><br /><span class="message">'+v.message+'</span><br /><br /></div></div></div>');
			$('#noticesContent').prepend(newRow);
		};
	}
};

processNoticesResponse.script();